﻿using System;

interface InterfaceA
{
    void printCapitalLetter();
}

interface InterfaceB
{
    void printLowercaseLetter();
}

class Print : InterfaceA, InterfaceB
{
    public void printCapitalLetter()
    {
        Console.WriteLine("大写英文字母表:");
        for (char c = 'A'; c <= 'Z'; c++)
        {
            Console.Write(c + " ");
        }
        Console.WriteLine();
    }

    public void printLowercaseLetter()
    {
        Console.WriteLine("小写英文字母表:");
        for (char c = 'a'; c <= 'z'; c++)
        {
            Console.Write(c + " ");
        }
        Console.WriteLine();
    }
}

class Program
{
    static void Main(string[] args)
    {
        InterfaceA a = new Print();
        a.printCapitalLetter();


        InterfaceB b = new Print();
        b.printLowercaseLetter();

    }
}